﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using DTO;

namespace WCF
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IWCFLocal" in both code and config file together.
    [ServiceContract]
    public interface IWCFLocal
    {
        [OperationContract]
        List<DTO.Local> list();

        [OperationContract]
        DTO.Local getByID(int id);

        [OperationContract]
        List<DTO.Local> getByPais(String pais);
    }
}
